package com.car.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@TableName("tb_car_operation")
public class TbCarOperation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long carId;

    /**
     * 运营区域
     */
    private Long operatorAreaId;

    /**
     * 内部编号
     */
    private String internalNumber;
    /**
     * 运营单位
     */
    private String operatingUnit;

    /**
     * 车辆用途
     */
    private String carUsage;

    /**
     * 正式运营日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date operatingDate;

    /**
     * 存放地点
     */
    private String depositArea;
    /**
     * 负责人id
     */
    private Long responsibleId;

    /**
     * 车辆负责人
     */
    private String responsibleName;

    /**
     * 车辆负责人电话
     */
    private String responsibleTel;

    /**
     * 年检期限
     */
    private String asPeriod;

    /**
     * 保险期限
     */
    private String insurancePeriod;


}
